/**
 * 
 */
package com.moon.manager;

import com.moon.card.CardBox;
import com.moon.card.CardFactory;
import com.moon.cardSender.CardSender;


/**
 * @author small
 *
 */
public class CardManager {
	
	private CardSender cardSender;
	
	private CardFactory cardFactory;
	
	private CardBox cardBox;
	
	private static CardManager manager = new CardManager();
	

	/**
	 * 
	 */
	private CardManager() {
		cardSender = new CardSender();
		cardFactory = CardFactory.getInstance();
		cardBox = cardFactory.getCardBox();
	}
	
	public CardManager getManager() {
		return manager;
	}
	
	public void setCardBoxToCardSender() {
		cardSender.setCardBox(cardBox);
	}
	
}
